package com.xnyzc.lhy.mis.controller.cmsapi.account;


import com.xnyzc.lhy.common.entity.Rv;
import com.xnyzc.lhy.mis.entity.param.account.AccountParam;
import com.xnyzc.lhy.mis.service.account.IOaDAccountAdjustmentDetailService;
import io.swagger.annotations.Api;
import io.swagger.annotations.ApiImplicitParams;
import io.swagger.annotations.ApiOperation;
import io.swagger.annotations.ApiParam;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.*;

/**
 * <p>
 * 司机账户调整明细表 前端控制器
 * </p>
 *
 * @author cuichaoqun
 * @since 2019-10-19
 */
@RestController
@Api(value="司机账户调整明细表",tags={"司机账户调整明细表"})
@RequestMapping("/cmsapi/account")
public class OaDAccountAdjustmentDetailController {
    @Autowired
    IOaDAccountAdjustmentDetailService iOaDAccountAdjustmentDetailService;

    /**
     * 司机账户调整明细表查询
     * */
    @ApiOperation(value = "司机账户调整明细表查询", notes = "司机账户调整明细表查询")
    @PostMapping(value = "/selectDateIOaDAccountAdjustmentDetail")
    public Rv queryDateIOaDAccountAdjustmentDetail(@RequestBody AccountParam accountParam) {
        return iOaDAccountAdjustmentDetailService.queryDateIOaDAccountAdjustmentDetail(accountParam.getAdjustmentId());
    }

}
